package com.hyfrogx.modules.zoom.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ：Li9527
 * @date ：Created in 2019-11-18 19:21
 * @description：${description}
 * @modified By：
 * @version: 1.0.0
 */
@Data
public class NmtPowerForm {
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "特权名称")
    @NotBlank(message = "特权名称不能为空")
    private String name;

    @ApiModelProperty(value = "特权类型0普通1专属")
    @NotNull(message="特权类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "特权卡规格")
    @NotNull(message="特权卡规格不能为空")
    private Integer capacity;

    @ApiModelProperty(value = "特权卡持续时长")
    @NotNull(message="特权卡持续时长不能为空")
    private Integer duration;

    @ApiModelProperty(value = "售价")
    @NotNull(message="售价不能为空")
    private Integer price;

    @ApiModelProperty(value = "优惠价")
    @NotNull(message="优惠价不能为空")
    private Integer tprice;

    @ApiModelProperty(value = "套餐内容")
    private String showinfo;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "启用禁用")
    private Integer status;
}
